package dynamicJsonVerifyer.verifyers.baseDataType;

import com.alibaba.fastjson.JSONObject;
import dynamicJsonVerifyer.Const;
import dynamicJsonVerifyer.verifyers.FieldTypeVerifyer;

public class Int32Verifyer extends FieldTypeVerifyer {


    @Override
    protected String getType() {
        return Const.BaseVerifyDataType.int32;
    }

    @Override
    protected boolean verifyType(JSONObject verifyMetadata, Object appointVaildData) {
        return appointVaildData instanceof Integer;
    }
}
